Skip to main content
Version: 6.0.2

Datatype Version

Datatype version configuration on data.json requires following basic structure

It configures schema of the datatype.

{
"id": "c930add5-7c64-4618-a432-566e3f20b1c3",
"name": "0",
"schema": {
"properties": {
"attendees": {
"items": [
{
"email": {
"type": "string",
"x-label": {
"en": "email",
"ko": "email"
}
},
"responseStatus": {
"type": "string",
"x-label": {
"en": "responseStatus",
"ko": "responseStatus"
}
}
}
],
"type": "array",
"x-label": {
"en": "attendees",
"ko": "attendees"
}
},
"conferenceData": {
"properties": {
"conferenceId": {
"type": "string",
"x-label": {
"en": "conferenceId",
"ko": "conferenceId"
}
},
"conferenceSolution": {
"properties": {
"iconUri": {
"type": "string",
"x-label": {
"en": "iconUri",
"ko": "iconUri"
}
},
"key": {
"properties": {
"type": {
"type": "string",
"x-label": {
"en": "type",
"ko": "type"
}
}
},
"type": "object",
"x-label": {
"en": "key",
"ko": "key"
}
},
"name": {
"type": "string",
"x-label": {
"en": "name",
"ko": "name"
}
}
},
"type": "object",
"x-label": {
"en": "conferenceSolution",
"ko": "conferenceSolution"
}
},
"entryPoints": {
"items": [
{
"accessCode": {
"type": "string",
"x-label": {
"en": "accessCode",
"ko": "accessCode"
}
},
"entryPointType": {
"type": "string",
"x-label": {
"en": "entryPointType",
"ko": "entryPointType"
}
},
"meetingCode": {
"type": "string",
"x-label": {
"en": "meetingCode",
"ko": "meetingCode"
}
},
"passcode": {
"type": "string",
"x-label": {
"en": "passcode",
"ko": "passcode"
}
},
"password": {
"type": "string",
"x-label": {
"en": "password",
"ko": "password"
}
},
"pin": {
"type": "string",
"x-label": {
"en": "pin",
"ko": "pin"
}
},
"uri": {
"type": "string",
"x-label": {
"en": "uri",
"ko": "uri"
}
},
"x-label": {
"type": "string",
"x-label": {
"en": "label",
"ko": "label"
}
}
}
],
"type": "array",
"x-label": {
"en": "entryPoints",
"ko": "entryPoints"
}
}
},
"type": "object",
"x-label": {
"en": "conferenceData",
"ko": "conferenceData"
}
},
"created": {
"x-dataType": "DateTimeType",
"x-dataTypeVersion": "0",
"x-label": {
"en": "created",
"ko": "created"
}
},
"creator": {
"properties": {
"email": {
"type": "string",
"x-label": {
"en": "email",
"ko": "email"
}
}
},
"type": "object",
"x-label": {
"en": "creator",
"ko": "creator"
}
},
"description": {
"type": "string",
"x-label": {
"en": "description",
"ko": "description"
}
},
"end": {
"properties": {
"date": {
"x-dataType": "DateTimeType",
"x-dataTypeVersion": "0",
"x-label": {
"en": "date",
"ko": "date"
}
},
"dateTime": {
"x-dataType": "DateTimeType",
"x-dataTypeVersion": "0",
"x-label": {
"en": "dateTime",
"ko": "dateTime"
}
},
"timeZone": {
"type": "string",
"x-label": {
"en": "timeZone",
"ko": "timeZone"
}
}
},
"type": "object",
"x-label": {
"en": "end",
"ko": "end"
}
},
"eventType": {
"type": "string",
"x-label": {
"en": "eventType",
"ko": "eventType"
}
},
"hangoutLink": {
"type": "string",
"x-label": {
"en": "hangoutLink",
"ko": "hangoutLink"
}
},
"htmlLink": {
"type": "string",
"x-label": {
"en": "htmlLink",
"ko": "htmlLink"
}
},
"iCalUID": {
"type": "string",
"x-label": {
"en": "iCalUID",
"ko": "iCalUID"
}
},
"id": {
"type": "string",
"x-label": {
"en": "id",
"ko": "id"
}
},
"kind": {
"type": "string",
"x-label": {
"en": "kind",
"ko": "kind"
}
},
"location": {
"x-dataType": "DateTimeType",
"x-dataTypeVersion": "0",
"x-label": {
"en": "location",
"ko": "location"
}
},
"organizer": {
"properties": {
"email": {
"type": "string",
"x-label": {
"en": "email",
"ko": "email"
}
}
},
"type": "object",
"x-label": {
"en": "organizer",
"ko": "organizer"
}
},
"sequence": {
"type": "number",
"x-label": {
"en": "sequence",
"ko": "sequence"
}
},
"start": {
"properties": {
"date": {
"x-dataType": "DateTimeType",
"x-dataTypeVersion": "0",
"x-label": {
"en": "date",
"ko": "date"
}
},
"dateTime": {
"x-dataType": "DateTimeType",
"x-dataTypeVersion": "0",
"x-label": {
"en": "dateTime",
"ko": "dateTime"
}
},
"timeZone": {
"type": "string",
"x-label": {
"en": "timeZone",
"ko": "timeZone"
}
}
},
"type": "object",
"x-label": {
"en": "start",
"ko": "start"
}
},
"status": {
"type": "string",
"x-label": {
"en": "status",
"ko": "status"
}
},
"summary": {
"type": "string",
"x-label": {
"en": "summary",
"ko": "summary"
}
},
"updated": {
"x-dataType": "DateTimeType",
"x-dataTypeVersion": "0",
"x-label": {
"en": "updated",
"ko": "updated"
}
}
},
"required": [],
"type": "object"
}
}

If id is not provided, CLI will autogenerate it and insert it into the file before creating a new datatype version. If id is provided, CLI will update the datatype version with that id.